package SpringDemo.Controller;

import SpringDemo.Service.UserService;
import SpringDemo.model.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

    @Autowired
    public UserService userService;

    public User getUser(){
        return userService.getUser();
    }
}
